import fetch from '@/utils/request'
export function AddUserRole_post(data) {
  return fetch({
    url: '/api/AccessRolePermission/AddUserRole',
    method: 'post',
    data: data

  })
}
//接入管理新增
export function AccessManagement_post(data) {
  return fetch({
    url: '/api/AccessManagement/post',
    method: 'post',
    data: data

  })
}
//接入管理删除
export function AccessManagement_delete(data) {
  return fetch({
    url: '/api/AccessManagement/delete?id=' + data,
    method: 'delete',


  })
}
//批量删除接入管理
export function AccessManagement_BathDelete(data) {
  return fetch({
    url: '/api/AccessManagement/BathDelete',
    method: 'delete',
    data: data
  })
}
//接入管理列表
export function AccessManagement(data) {
  return fetch({
    url: '/api/AccessManagement/Get',
    method: 'get',
    params: data

  })
}
//接入管理测试链接
export function VerifyConnectionString_post(data) {
  return fetch({
    url: '/api/AccessManagement/VerifyConnectionString',
    method: 'post',
    data: data

  })
}
//接入管理编辑-基本信息
export function AccessManagement_put(data) {
  return fetch({
    url: '/api/AccessManagement/put',
    method: 'put',
    data: data

  })
}
